% latex table generated in R 4.4.2 by xtable 1.8-4 package
% Wed Apr 16 11:00:31 2025
\begin{table}[ht]
\centering
\begin{tabular}{lrrr}
  \hline
category & pct. in survey & pct. in population & difference \\ 
  \hline
Female & 55.7 & 50.6 & 5.1 \\ 
  Male & 44.3 & 49.4 & -5.1 \\ 
   \hline
Age 18-32 & 19.9 & 24.4 & -4.5 \\ 
  Age 33-42 & 12.0 & 14.5 & -2.5 \\ 
  Age 43-52 & 18.7 & 16.2 & 2.5 \\ 
  Age 53-62 & 19.9 & 16.7 & 3.2 \\ 
  Age 63-72 & 18.6 & 13.5 & 5.1 \\ 
  Age 73+ & 10.9 & 14.7 & -3.8 \\ 
   \hline
Capital region & 29.1 & 31.8 & -2.7 \\ 
  Midtjylland & 23.7 & 22.7 & 1.0 \\ 
  Nordjylland & 10.8 & 10.2 & 0.6 \\ 
  Sjælland & 15.0 & 14.4 & 0.6 \\ 
  Syddanmark & 21.4 & 20.9 & 0.5 \\ 
   \hline
Elementary & 12.1 & 18.7 & -6.6 \\ 
  High school & 16.1 & 11.2 & 4.9 \\ 
  Professional & 34.8 & 31.7 & 3.1 \\ 
  Short tertiary & 7.1 & 5.6 & 1.5 \\ 
  Bachelor & 19.4 & 19.8 & -0.4 \\ 
  Master & 9.9 & 11.8 & -1.9 \\ 
  PhD & 0.5 & 1.1 & -0.6 \\ 
   \hline
\end{tabular}
\caption{Comparing proportions of Study 2 respondents in demographic categories to Danish population statistics (source: Danmark Statistik, Q1 2022).} 
\label{tab:represent2}
\end{table}
